from app.api.admin.model.base import Base, BaseModel, RecodeMixin
from sqlalchemy import Column, String, INT

class RolerModel(BaseModel):
    __tablename__ = 'roler'
    id = Column(INT, primary_key=True,
                nullable=False, autoincrement=True, comment='主键')
    name = Column(String(100), nullable=False, comment='角色')